package com.dhcc.bpm.modules.metadata.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 接口映射表实体类
 *
 * @author ccab
 * @since 2020-07-27
 */
@Data
@TableName("opc_api_metadata_mapper")
@ApiModel(value = "ApiMetadataMapper对象", description = "接口映射表")
public class ApiMetadataMapper implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 接口ID
     */
    @ApiModelProperty(value = "接口ID")
    @TableId("api_id")
    private Long apiId;
    /**
     * 标准接口参数ID
     */
    @ApiModelProperty(value = "标准接口参数ID")
    @TableField("api_metadata_id")
    private Long apiMetadataId;
    /**
     * 源服务接口参数ID
     */
    @ApiModelProperty(value = "源服务接口参数ID")
    @TableField("server_api_metadata_id")
    private Long serverApiMetadataId;
    /**
     * 报文选择条件
     */
    @ApiModelProperty(value = "报文选择条件")
    @TableField("message_check")
    private String messageCheck;
    /**
     * 报文索引
     */
    @ApiModelProperty(value = "报文索引")
    @TableField("message_index")
    private String messageIndex;
    /**
     * 预处理字段
     */
    @ApiModelProperty(value = "预处理字段")
    @TableField("first_work_item")
    private String firstWorkItem;
    /**
     * 报文类型
     */
    @ApiModelProperty(value = "报文索引")
    @TableField("message_type")
    private String messageType;


}
